package jnpf.fico.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jnpf.fico.entity.ZcBillItemEntity;
import jnpf.fico.mapper.ZcBillItemMapper;
import jnpf.fico.model.bill.ZcBillPagination;
import jnpf.fico.service.ZcBillItemService;
import jnpf.permission.service.AuthorizeService;
import jnpf.util.GeneraterSwapUtil;
import jnpf.util.ServletUtil;
import jnpf.util.UserProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 账单信息
 * 版本： V3.2.0
 * 版权： 智果云科技（https://www.jnpfsoft.com）
 * 作者： JNPF开发平台组
 * 日期： 2024-10-22
 */
@Service
public class ZcBillItemServiceImpl extends ServiceImpl<ZcBillItemMapper, ZcBillItemEntity> implements ZcBillItemService {


    @Autowired
    private GeneraterSwapUtil generaterSwapUtil;

    @Autowired
    private UserProvider userProvider;

    @Autowired
    private AuthorizeService authorizeService;

    @Override
    public QueryWrapper<ZcBillItemEntity> getChild(ZcBillPagination pagination, QueryWrapper<ZcBillItemEntity> zcBillItemQueryWrapper) {
        boolean pcPermission = false;
        boolean appPermission = false;
        boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc");
        if (isPc) {
        }

        return zcBillItemQueryWrapper;
    }

}
